package com.example.demo.entity.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 团购信息
 * </p>
 *
 * @author author
 * @since 2025-01-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tuangouxinxi")
@ApiModel(value="Tuangouxinxi对象", description="团购信息")
public class Tuangouxinxi implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime addtime;

    @ApiModelProperty(value = "商品编号")
    private String shangpinbianhao;

    @ApiModelProperty(value = "商品名称")
    private String shangpinmingcheng;

    @ApiModelProperty(value = "类型")
    private String leixing;

    @ApiModelProperty(value = "数量")
    private Integer shuliang;

    @ApiModelProperty(value = "团购价")
    private Integer tuangoujia;

    @ApiModelProperty(value = "详情")
    private String xiangqing;

    @ApiModelProperty(value = "活动时间")
    private LocalDate huodongshijian;

    @ApiModelProperty(value = "图片")
    private String tupian;

    @ApiModelProperty(value = "赞")
    private Integer thumbsupnum;

    @ApiModelProperty(value = "踩")
    private Integer crazilynum;


}
